ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonHelper Class / SerializeObject Method / SerializeObject(Object,IList<JsonConverter>) Method
The object to serialize.
A collection of JsonConverter

In This Topic
    SerializeObject(Object,IList<JsonConverter>) Method
    In This Topic
    Serializes the specified object to a JSON string using a collection of JsonConverter.
    Syntax
    'Declaration
     
    Public Overloads Shared Function SerializeObject( _
       ByVal obj As Object, _
       ByVal jsCters As IList(Of JsonConverter) _
    ) As String
    public static string SerializeObject( 
       object obj,
       IList<JsonConverter> jsCters
    )

    Parameters

    obj
    The object to serialize.
    jsCters
    A collection of JsonConverter

    Return Value

    A JSON string representation of the object.
    See Also